<script src="/statics/plugins/jQuery-Tags-Input-master/jquery.tagsinput.js" type="text/javascript"></script>
<link href="/statics/plugins/jQuery-Tags-Input-master/jquery.tagsinput.css" rel="stylesheet" type="text/css" />
<script type='text/javascript' src='/statics/plugins/jQuery-Tags-Input-master/jquery-ui.min.js'></script>
<link rel="stylesheet" type="text/css" href="/statics/plugins/jQuery-Tags-Input-master/jquery-ui.css" />
<body>
	<input class="form-control" id ="<?php echo $key ?>" name="<?php echo $name ?>" value="<?php echo empty($content)?"":$content?>">
</body>
<script type="text/javascript">
	$(function(){
		$('#<?php echo $key ?>').tagsInput({width:'auto'});
	});
</script>